﻿using System.ComponentModel.DataAnnotations;
using Domain;

namespace Domain
{
    /// <summary>
    /// 订单信息表
    /// </summary>
    public class Order_info : AuditableEntityBase
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 订单编号
        /// </summary>
        public string Order_number { get; set; }
        /// <summary>
        /// 货物名称
        /// </summary>
        public string Item_name { get; set; }
        /// <summary>
        /// 货物数量
        /// </summary>
        public int quantity { get; set; }
        /// <summary>
        /// 货物的长度
        /// </summary>
        public decimal unit_length { get; set; }
        /// <summary>
        /// 货物的宽度
        /// </summary>
        public decimal unit_width { get; set; }
        /// <summary>
        /// 货物的高度
        /// </summary>
        public decimal unit_height { get; set; }
        /// <summary>
        /// 货物总重量
        /// </summary>
        public decimal total_weight { get; set; }
        /// <summary>
        /// 货物体积
        /// </summary>
        public decimal total_volume { get; set; }
        /// <summary>
        /// 是否易碎
        /// </summary>
        public bool is_fragile { get; set; }
        /// <summary>
        /// 温度控制要求
        /// </summary>
        public string temperature_control { get; set; }
        /// <summary>
        /// 是否为危险品
        /// </summary>
        public bool is_hazardous { get; set; }
        /// <summary>
        /// 包装类型，如“木箱”、“纸箱”。
        /// </summary>
        public string packaging_type { get; set; }
        /// <summary>
        /// 订单备注
        /// </summary>
        public string notes { get; set; }


}
}
